﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ChinaDynastyTours.Controls;
using DevExpress.XtraEditors.Controls;

namespace ChinaDynastyTours.Views
{
    public partial class ConsoleForm1 : DevExpress.XtraEditors.XtraForm
    {
        public ConsoleForm1()
        {
            InitializeComponent();

        }

        private void ConsoleForm_Load(object sender, EventArgs e)
        {
            //DatesCollection dates = new DatesCollection();// DateTime.Now.AddDays(-5);
            //for (int i = -5; i <=5; i++)
            //{
            //    dates.Add(DateTime.Now.AddDays(i));
            //}
            //consoleGridControl.DataSource = ConsoleCtrl.GetConsoleData(dates);
        }

        private void dateNavigator_EditDateModified(object sender, EventArgs e)
        {
            //consoleGridControl.DataSource = ConsoleCtrl.GetConsoleData(dateNavigator.Selection);
        }
    }
}
